pp108 : Script Editor

Script Editor

This topic introduces the Script Editor.

Process Platform XForms provides a rapid application developer (RAD) tool (the XForms Designer) to help quickly develop web applications. The controls provided in the XForms Designer are associated with specific functionality using which you can create interactive XForms. However, if you need to use additional functionality, you can write your own code using the Script Editor and achieve the desired behavior for your XForm. Using the Script Editor, you can create and modify XForms objects and data models in an XForm.
The Script Editor simplifies the process of writing the code for an XForm.

  • It provides you with
    Intellisense, a feature that prompts you with properties and Web service operations applicable to an object when you edit code. Using the Intellisense feature, you can insert the appropriate property or Web service operation in the script. The Intellisense feature also enables easy referencing of object models. You can use it to insert language elements directly into the code.

    Note: The Web service operations displayed by the Intellisense feature are suffixed with brackets enclosing periods of ellipses to differentiate them from properties. Type "(" to view the parameters applicable for a Web service operation. The optional attributes are enclosed in square brackets.

  • It also provides you with Undo and Redo features that enable you to reverse the changes made to code. You can press Ctrl+Z to perform the undo action and press Ctrl+Y to perform the redo action.
    In addition, the Script Editor also provides you with features such as Color Coding, Syntax Validation, Script reloading, and Find. For detailed information about these features available with the Script Editor, see Script Editor Toolbar.


Caution: Process Platform does not recommend using the Script Editor to work with DHTML objects as it may lead to backward compatibility issues.

Related concepts

XForms Designer
XML Editor

Related reference

Script Editor Toolbar
Keyboard Shortcuts